Skip to content

http: fix double AbortSignal registration#37730

Merged
Trott merged 1 commit intonodejs:masterfrom
Linkgoron:http-fix-double-abort-signal-registration
Mar 20, 2021
Merged

http: fix double AbortSignal registration#37730
Trott merged 1 commit intonodejs:masterfrom
Linkgoron:http-fix-double-abort-signal-registration

Conversation

@Linkgoron
Copy link
Contributor

@Linkgoron Linkgoron commented Mar 12, 2021

It looks like #36431 added support for AbortSignal to net.createConnection and net.connect (will add tests/docs in a separate PR). This caused "double registration" to the AbortSignal. This PR fixes the issue by removing the signal from the internal calls to net.

Also added tests for http.agent

@benjamingr

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

http Issues or PRs related to the http subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants